FROM java:8

COPY service.jar /app02.jar

CMD ["--server.port=8081"]

EXPOSE 8081

ENTRYPOINT ["java","-jar","app02.jar"]